package com.ypinkj.app.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_dict")//@TableName中的值对应着表名 字典表
public class Dict  implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.ID_WORKER_STR)
	private String id;
	private String type;
	private String k;
	private String val;
	//自动新增时间
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	//自动更新时间
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;
	//自动默认值0
	@TableField(fill = FieldFill.INSERT)
	private String delFlag;

}
